package com.dfrobot.demo.domain.entity;

import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "country")
public class Country {
    @Id
    @Column(name = "country_id")
    private Integer countryId;

    private String name;

    @Column(name = "iso_code_2")
    private String isoCode2;

    @Column(name = "iso_code_3")
    private String isoCode3;

    @Column(name = "postcode_required")
    private Boolean postcodeRequired;

    private Boolean status;

    @Column(name = "address_format")
    private String addressFormat;
}